<?php
zeus_load('zeus_database_pdo');
zeus_load('zeus_database_heap');
zeus_load('zeus_session_storage');
zeus_load('zeus_i18n_translate');
zeus_load('zeus_datagrid_grid');
zeus_load('zeus_form_quickform');
zeus_load('zeus_ajax_xajax');
zeus_load('zeus_valid_common');
zeus_load('zeus_valid_checkForm');
zeus_load('zeus_mail_phpmailer');
zeus_load('zeus_toolkit_import');
zeus_load('zeus_toolkit_trans');
zeus_load('zeus_print_printer');
// Define the auto load function
function __autoload($className = '')
{
    $pattern = '/_/';
    $repalcement = '/';
    $pathToClass = '/' . preg_replace($pattern, $repalcement, $className) . '.php';
    require_once($pathToClass);
}
// Define the load function
function zeus_load($functionName = '')
{
    $pattern = '/_/';
    $repalcement = '/';
    $pathToFunction = $_SERVER['DOCUMENT_ROOT'].'/includes/' . preg_replace($pattern, $repalcement, $functionName) . '.php';
    require_once($pathToFunction);
}

?>